<?php
/**
 * Created by PhpStorm.
 * User: Thans
 * Date: 2018/6/9
 * Time: 下午10:55
 */

namespace app\admin\controller\view;

use app\common\controller\Admin;

class GroupController extends Admin
{
    public function index()
    {
        return $this->fetch();
    }
    public function add()
    {
        return $this->fetch();
    }
    public function edit($id)
    {
        if (!$id) {
            $this->error('参数错误');
        }
        $this->assign('id', $id);
        return $this->fetch();
    }
}
